package top.infopub.mgr.bpa.service.impl;

import java.math.BigDecimal;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.OtherSureDetailDao;
import top.infopub.model.bpa.OtherSureDetail;
import top.infopub.mgr.bpa.service.OtherSureDetailService;

@Service
public class OtherSureDetailServiceImpl extends GenericServiceImpl<OtherSureDetail, String> implements
		OtherSureDetailService {

	@Autowired
	private OtherSureDetailDao otherSureDetailDao;
	
	@Override
	public GenericDao<OtherSureDetail, String> getDao() {
		return otherSureDetailDao;
	}

    @Override
    public BigDecimal selectAddupAmountBySubNameAndRefId(String subName, String refId) {
        return otherSureDetailDao.selectAddupAmountBySubNameAndRefId(subName,refId);
    }

}